package com.yangguang.huahui.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/3/14.
 */

public class ChatUser {
    @SerializedName("for")
    private ForBean forX;
    private ToBean to;
    private String msg;
    private int status;

    public ForBean getForX() {
        return forX;
    }

    public void setForX(ForBean forX) {
        this.forX = forX;
    }

    public ToBean getTo() {
        return to;
    }

    public void setTo(ToBean to) {
        this.to = to;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public static class ForBean {
        /**
         * id : 6
         * uid : 8
         * nickname : 夜
         * avatar : http://192.168.1.34/huahui/Public/Uploads/58c1124373bcc.jpg
         */

        private String id;
        private String uid;
        private String nickname;
        private String avatar;
        private String mark;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }
    }

    public static class ToBean {
        /**
         * id : 8
         * uid : 10
         * nickname : 1914
         * avatar : http://192.168.1.34/huahui/Public/app/head.png
         */

        private String id;
        private String uid;
        private String nickname;
        private String avatar;
        private String mark;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }
    }
}
